﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace SimpleMediaPlayer
{
    public partial class 主窗体1 : Form
    {
        public 主窗体1()
        {
            InitializeComponent();
        }

        private void 音乐播放器ToolStripMenuItem_Click(object sender, EventArgs e)
        {

            mainForm f2 = new mainForm();
            f2.MdiParent = this;
            f2.StartPosition = FormStartPosition.CenterScreen;
            f2.Show();
        }

        private void 生日提醒ToolStripMenuItem_Click(object sender, EventArgs e)
        {

        }

        private void 好友设置ToolStripMenuItem_Click(object sender, EventArgs e)
        {

        }

        private void 增加ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Form1 f1 = new Form1();
            f1.MdiParent = this;
            f1.StartPosition = FormStartPosition.CenterScreen;
            f1.Show();
           
        }

        private void toolStripMenuItem1_Click(object sender, EventArgs e)
        {

        }

        private void 模糊查询ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            生日模糊查询 f8 = new 生日模糊查询();
            f8.MdiParent = this;
            f8.StartPosition = FormStartPosition.CenterScreen;
            f8.Show();
            

        }
        private void 删除ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Form2 f3 = new Form2();
            f3.MdiParent = this;
            f3.StartPosition = FormStartPosition.CenterScreen;
            f3.Show();
        }

        private void 更改ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            生日更改 f5 = new 生日更改();
            f5.MdiParent = this;
            f5.StartPosition = FormStartPosition.CenterScreen;
            f5.Show();

        }

        private void 条件查询ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            生日条件查询 f15 = new 生日条件查询();
            f15.MdiParent = this;
            f15.StartPosition = FormStartPosition.CenterScreen;
            f15.Show();
            
        }
    }
}
